package com.powergisol.gis.service;

import com.powergisol.gis.dto.SectionDTO;
import com.powergisol.gis.geom.GeoLineString;
import com.powergisol.gis.geom.GeoPolygon;

import java.io.IOException;
import java.util.List;

public interface SectionService {

    /**
     * 生成切面
     * @param sections
     * @param plane
     * @return
     */
    @Deprecated
    List<SectionDTO> createSection(List<GeoPolygon> sections, String plane) throws IOException;


    /**
     * 生成切面
     * @param sections
     * @param plane
     * @return
     */
    List<SectionDTO> createSectionByLine(List<GeoLineString> sections, String plane, double height) throws IOException;
}
